<nav class="navbar navbar-default" role="navigation" style="background-image: linear-gradient(to bottom,#fff 0%, #c4e3f3 100%)" th:fragment="nav">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                    data-target="#example-navbar-collapse">
                <span class="sr-only">导航</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">
                <span class="glyphicon glyphicon glyphicon-leaf"></span>
                企业LOGO
            </a>
        </div>
        <div class="collapse navbar-collapse" id="example-navbar-collapse">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">首页</a></li>
                <li><a th:href="@{/addUser}">注册</a></li>
                <li><a th:href="@{/success}">成功</a></li>
                <li><a th:href="@{/error}">失败</a></li>
                <li><a th:href="@{userList}">用户列表</a></li>
                <li><a href="">导航5</a></li>
                <li><a href="">导航6</a></li>
                <li><a href="">导航7</a></li>
                <li><a href="">导航8</a></li>
                <li><a href="">导航9</a></li>
                <li><a href="">导航10</a></li>
                <li><a href="">导航11</a></li>
                <li><a href="">导航12</a></li>
            </ul>
        </div>
    </div>
</nav>